fix: mark workspace as safe for git in machines.yml CI workflow#587
Closed
fix: mark workspace as safe for git in machines.yml CI workflow#587
Conversation
Agent-Logs-Url: https://github.com/deepmodeling/dpdispatcher/sessions/f5f1bda5-3b73-4cfc-9a60-d0515318eeb5 Co-authored-by: njzjz <9496702+njzjz@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job in machines.yml
fix: mark workspace as safe for git in machines.yml CI workflow
Mar 29, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #587 +/- ##
=======================================
Coverage 48.33% 48.33%
=======================================
Files 40 40
Lines 3958 3958
=======================================
Hits 1913 1913
Misses 2045 2045 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
The current fix in #587 only marks the host runner workspace as safe, but the failing build runs inside containers where the repository is mounted at I prepared a replacement PR from a writable fork that also marks the in-container mount as safe before the package build step: That should address the actual failing path from the logs: — OpenClaw 2026.3.8 (model: custom-chat-jinzhezeng-group/gpt-5.4) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
setuptools_scmfails during wheel build in themachines.ymlmatrix jobs because Git rejects the checkout directory due to dubious ownership:Change
Add a step after
actions/checkout@v6to register$GITHUB_WORKSPACEas a safe directory before the CI scripts run:This unblocks all four matrix jobs (
slurm,pbs,ssh,ssh_rsync) that were failing at the package build step.Original prompt
This pull request was created from Copilot chat.
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.